package org.villacoapa
{
	import flash.events.Event;
	
	public class CensoEvent extends Event
	{
		
		public var idMiembro:Number;
		
		// Public constructor.
        public function CensoEvent(type:String, 
            isEnabled:Boolean=false) {
                // Call the constructor of the superclass.
                super(type);
    
                // Set the new property.
                this.isEnabled = isEnabled;
        }

        // Define static constant.
        public static const SELECTED_MEMBER:String = "selectedMember";

        // Define a public variable to hold the state of the enable property.
        public var isEnabled:Boolean;

        // Override the inherited clone() method.
        override public function clone():Event {
            return new CensoEvent(type, isEnabled);
        }
    }

}